import { configureStore } from '@reduxjs/toolkit'
import UserSlice from './UserSlice'
import { apiSlice } from './apiSlice'
export default configureStore({
	reducer: {
		UserSlice,
		[apiSlice.reducerPath]: apiSlice.reducer
	},
	middleware: getDefaultMiddleware =>
		getDefaultMiddleware().concat(apiSlice.middleware)
})